<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>宠物之家</title>
    <link rel="icon" th:href="@{/img/logo.png}">
    <!--<link href="https://cdn.jsdelivr.net/npm/bootstrap@4.1.1/dist/css/bootstrap.min.css" rel="stylesheet">-->
    <link href="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
    <!--<link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">-->
    <link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://unpkg.com/bootstrap-material-design@4.1.1/dist/css/bootstrap-material-design.min.css" integrity="sha384-wXznGJNEXNG1NFsbm0ugrLFMQPWswR3lds2VeinahP8N0zJw9VWSopbjv2x7WCvX" crossorigin="anonymous">
    <style>
        .container{
            margin-top: 5%;
        }
        tbody tr td{
            vertical-align: bottom;
        }
        .inputfile {
            width: 0.1px;
            height: 0.1px;
            opacity: 0;
            overflow: hidden;
            position: absolute;
            z-index: -1;
        }
        /*.inputfile + label {*/
        /*    font-size: 1.25em;*/
        /*    font-weight: 700;*/
        /*    color: white;*/
        /*    background-color: black;*/
        /*    display: inline-block;*/
        /*    cursor: pointer;*/
        /*}*/
        /*.inputfile:focus + label {*/
        /*    outline: 1px dotted #000;*/
        /*    outline: -webkit-focus-ring-color auto 5px;*/
        /*}*/
        /*.inputfile + label:hover {*/
        /*    background-color: red;*/
        /*}*/
    </style>
</head>
<body>
    <!--nav bar-->
    <nav class="navbar navbar-expand-md bg-dark navbar-dark" id="page-head">
        <a class="navbar-brand" href="#"><i class="fa fa-paw"></i> 宠物之家</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="collapsibleNavbar">
            <ul class="nav navbar-nav ">
                <li class="nav-item">
                    <a class="nav-link active" data-toggle="tab" href="#pet" @Click="get_paging_data('pet')">宠物信息</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-toggle="tab" href="#business" @Click="get_paging_data('business')">宠物服务/医院</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-toggle="tab" href="#commodity" @Click="get_paging_data('commodity')">宠物商城</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-toggle="tab" href="#stray" @Click="get_paging_data('stray')">关爱流浪者</a>
                </li>
                <li>
                    <span class="navbar-text">
                        &ensp;|&ensp;
                    </span>
                </li>
                <li class="nav-item">
                    <a class="nav-link text-info" data-toggle="tab" href="#user" @Click="get_paging_data('user')">{{ user_center_title }}</a>
                </li>
            </ul>
        </div>
    </nav>
    <!--main page-->
    <div class="container" >
        <div class="tab-content">
            <div id="pet" class="container tab-pane fade active show"  th:include="pet::#content"></div>
            <div id="business" class="container tab-pane fade"  th:include="business::#content"></div>
            <div id="commodity" class="container tab-pane fade"  th:include="commodity::#content"></div>
            <div id="stray" class="container tab-pane fade"  th:include="stray::#content"></div>
            <div id="user" class="container tab-pane fade" th:include="user::#content"></div>
            <hr class="bg-secondary">
            <div class="text-dark text-center">
                ©2019&ensp;宠物之家<br>
            </div>
        </div>
    </div>
    <!--js-->
    <!--<script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js"></script>-->
    <script src="https://cdn.bootcss.com/jquery/3.4.0/jquery.min.js"></script>
    <!--<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.min.js"></script>-->
    <script src="https://cdn.bootcss.com/vue/2.6.10/vue.min.js"></script>
    <script src="https://unpkg.com/popper.js@1.12.6/dist/umd/popper.js"
            integrity="sha384-fA23ZRQ3G/J53mElWqVJEGJzU0sTs+SvzG8fXVWP+kJQ1lwFAOkcUOysnlKJC33U" crossorigin="anonymous"></script>
    <script src="https://unpkg.com/bootstrap-material-design@4.1.1/dist/js/bootstrap-material-design.js"
            integrity="sha384-CauSuKpEqAFajSpkdjv3z9t8E7RlpJ1UP0lKM/+NdtSarroVKu069AlsRPKkFBz9" crossorigin="anonymous"></script>
    <script defer type="text/javascript" th:src="@{/js/base.js}"></script>
    <script defer type="text/javascript" th:src="@{/js/pet.js}"></script>
    <script defer type="text/javascript" th:src="@{/js/business.js}"></script>
    <script defer type="text/javascript" th:src="@{/js/commodity.js}"></script>
    <script defer type="text/javascript" th:src="@{/js/stray.js}"></script>
    <script defer type="text/javascript" th:src="@{/js/user.js}"></script>
</body>
</html>